home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 March
/
EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso
/
earcd
/
program
/
ddmoduls.lha
/
dd_Modules
/
dd_graphics
/
dd_maxTextLen.e
next >
Wrap
Text File
|
1995-10-28
|
307b
|
13 lines
OPT MODULE
MODULE 'graphics/text'
MODULE 'graphics/rastport'
EXPORT PROC maxTextLen(stringlist:PTR TO LONG,textfont:PTR TO textfont)
DEF rastport:rastport,x,max=0
InitRastPort(rastport)
SetFont(rastport,textfont)
ForAll({x},stringlist,`max:=Max(max,TextLength(rastport,x,StrLen(x))))
ENDPROC max